package cn.kgc.shiroday03.service;

import cn.kgc.shiroday03.commons.ResponseResult;
import cn.kgc.shiroday03.dto.UserFormDTO;
import cn.kgc.shiroday03.dto.UserPageDTO;
import cn.kgc.shiroday03.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 *
 */
public interface UserService extends IService<User> {

    ResponseResult getPage(UserPageDTO userPageDTO);

    ResponseResult addUser(UserFormDTO userVO);

    ResponseResult getUserById(Integer id);

    ResponseResult updateUser(UserFormDTO userFormDTO);

    ResponseResult deleteById(Integer[] ids);

    Map<String, Object> loadMenu(String username);
}
